import Vue from 'vue';
import Router from 'vue-router';
import HelloWorld from './components/HelloWorld.vue';
import DemoTheOne from './components/DemoTheOne.vue';

Vue.use(Router);
export default new Router({
    mode: 'history',
    base: process.env.BASE_URL,
    routes: [
        {
            path:'/',
            name:'HelloWorld',
            component:HelloWorld
        },
        {
            path:'/demo',
            name:'demo',
            component:DemoTheOne
        }
    ]
})